package com.iven.xie.es.entity;

import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author iven.xie
 * @version 1.0
 * @date 2020/02/28 18:15
 */
@Data
public final class EsEntity<T> {
    private String id;
    private T data;

    public EsEntity() {
    }

    public EsEntity(String id, T data) {
        this.id = id;
        this.data = data;
    }
}
